<?php
$filas = $this->vars['data_track']['list'];
?>

<h1>Reportes Excel</h1>

<p>Select the type of report you want to generate</p>

<table cellpadding="5" border="0" style="padding-left: 10px;" class="login">
    <tr>
        <td>General Papers´Report</td><td colspan="2"><input type="button" onclick="reporte('papersGeneral',false)" value="Generar"/></td>
    </tr>
    <tr>
        <td>General Reviewers´Report</td><td colspan="2"><input type="button" onclick="reporte('revisoresGeneral',false)" value="Generar"/></td>
    </tr>

    <tr>
        <?php
    if($_SESSION['usuario_autenticado']->getIdPerfil()!=4){
        ?>
        <form action="index.php?controller=reporte&action=reportePaperTrack" id="frmReportePaperTrack" name="frmReportePaperTrack" method="post">
            <td>Papers´Report per Track</td>
            <td><?php $this->includeElement('select_track'); ?></td>
            <!--<td><input type="button" onclick="reporte('paperTrack',true)" value="Generar"/></td>-->
            <td><input type="submit" value="Generar"/></td>
        </form>
    <?php
    }
    ?>
    </tr>
    
    <tr>
        <?php    
    if($_SESSION['usuario_autenticado']->getIdPerfil()!=4){
        ?>
        <form action="index.php?controller=reporte&action=reporteRevisorTrack" id="frmReporteRevisorTrack" name="frmReporteRevisorTrack" method="post">
            <td>Reviewers´Report per track</td>
            <td><?php $this->includeElement('select_track'); ?></td>
            <!--<td><input type="button" onclick="reporte('revisorTrack',true)" value="Generar"/></td>-->
            <td><input type="submit" value="Generar"/></td>
        </form>
    <?php
    }
    ?>
    </tr>
    
</table>

<!--
<tr>
        <td><a href="">Reporte Autores General</a></td><td><input type="button" value="Generar"/></td>
    </tr>
-->